package com.handanghospital.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author litong
 * @since 2019-01-16
 */
@TableName("T_ReservationNum")
public class TReservationnum extends Model<TReservationnum> {

    private static final long serialVersionUID = 1L;

    @TableField("RoomID")
    private String RoomID;
    @TableField("ReservationNum")
    private Integer ReservationNum;
    @TableId(value = "MustID", type = IdType.AUTO)
    private Integer MustID;
    @TableField("DoctorName")
    private String DoctorName;
    @TableField("HospitalID")
    private Integer HospitalID;
    @TableField("RoomName")
    private String RoomName;
    @TableField("ReservationTimeID")
    private Integer ReservationTimeID;
    @TableField("DoctorID")
    private Integer DoctorID;
    @TableField("HospitalName")
    private String HospitalName;
    @TableField("ReservationTime")
    private String ReservationTime;


    public String getRoomID() {
        return RoomID;
    }

    public void setRoomID(String RoomID) {
        this.RoomID = RoomID;
    }

    public Integer getReservationNum() {
        return ReservationNum;
    }

    public void setReservationNum(Integer ReservationNum) {
        this.ReservationNum = ReservationNum;
    }

    public Integer getMustID() {
        return MustID;
    }

    public void setMustID(Integer MustID) {
        this.MustID = MustID;
    }

    public String getDoctorName() {
        return DoctorName;
    }

    public void setDoctorName(String DoctorName) {
        this.DoctorName = DoctorName;
    }

    public Integer getHospitalID() {
        return HospitalID;
    }

    public void setHospitalID(Integer HospitalID) {
        this.HospitalID = HospitalID;
    }

    public String getRoomName() {
        return RoomName;
    }

    public void setRoomName(String RoomName) {
        this.RoomName = RoomName;
    }

    public Integer getReservationTimeID() {
        return ReservationTimeID;
    }

    public void setReservationTimeID(Integer ReservationTimeID) {
        this.ReservationTimeID = ReservationTimeID;
    }

    public Integer getDoctorID() {
        return DoctorID;
    }

    public void setDoctorID(Integer DoctorID) {
        this.DoctorID = DoctorID;
    }

    public String getHospitalName() {
        return HospitalName;
    }

    public void setHospitalName(String HospitalName) {
        this.HospitalName = HospitalName;
    }

    public String getReservationTime() {
        return ReservationTime;
    }

    public void setReservationTime(String ReservationTime) {
        this.ReservationTime = ReservationTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.MustID;
    }

    @Override
    public String toString() {
        return "TReservationnum{" +
        ", RoomID=" + RoomID +
        ", ReservationNum=" + ReservationNum +
        ", MustID=" + MustID +
        ", DoctorName=" + DoctorName +
        ", HospitalID=" + HospitalID +
        ", RoomName=" + RoomName +
        ", ReservationTimeID=" + ReservationTimeID +
        ", DoctorID=" + DoctorID +
        ", HospitalName=" + HospitalName +
        ", ReservationTime=" + ReservationTime +
        "}";
    }
}
